package com.zzyl.mapper;

import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NursingPlanMapper {


    List<NursingPlanVo> selectAll();

    NursingPlan getbyid(Long id);

    void updateNursingPlan(NursingPlan nursingPlan);

    void update(NursingPlan nursingPlan1);

    void updateStatus(@Param("id") Long id, @Param("status") Integer status);

    List<NursingPlanVo> selectByPage(String name, Integer status, Integer pageNum, Integer pageSize);
}



